
export const setting = [{
  field: "id",
  title: "ID",
  type: "text"
},
{
  field: "employeeNo",
  title: "员工号",
  type: "text"
},
{
  field: "originalCompany",
  title: "原合同公司",
  type: "text"
},
{
  field: "originalWorkAddr",
  title: "原工作地点",
  type: "text"
},
{
  field: "originalOrgId",
  title: "原部门",
  type: "text"
},
{
  field: "originalPost",
  title: "原岗位",
  type: "text"
},
{
  field: "originalPostLevel",
  title: "原职级",
  type: "text"
},
{
  field: "targetCompany",
  title: "目标合同公司",
  type: "text"
},
{
  field: "targetWorkAddr",
  title: "目标工作地点",
  type: "text"
},
{
  field: "targetOrgId",
  title: "目标部门",
  type: "text"
},
{
  field: "targetPost",
  title: "目标岗位",
  type: "text"
},
{
  field: "targetPostLevel",
  title: "目标职级",
  type: "text"
},
{
  field: "turnoverType",
  title: "异动类型 1、入职",
  type: "text"
},
{
  field: "turnoverCause",
  title: "异动原因 1、工作安排",
  type: "text"
},
{
  field: "remarks",
  title: "备注",
  type: "text"
},
{
  field: "effectDate",
  title: "生效日期",
  type: "date"
},
{
  field: "originalSalary",
  title: "原薪资",
  type: "text"
},
{
  field: "originalBaseSalary",
  title: "原基本底薪",
  type: "text"
},
{
  field: "originalPostSalary",
  title: "原岗位级别工资",
  type: "text"
},
{
  field: "originalAllowance",
  title: "原岗位津贴",
  type: "text"
},
{
  field: "originalAchievementBonus",
  title: "原岗位绩效奖金",
  type: "text"
},
{
  field: "originalFullattendReward",
  title: "原全勤奖",
  type: "text"
},
{
  field: "originalOtherReward",
  title: "原其他",
  type: "text"
},
{
  field: "targetSalary",
  title: "目标薪资",
  type: "text"
},
{
  field: "targetBaseSalary",
  title: "目标基本底薪",
  type: "text"
},
{
  field: "targetPostSalary",
  title: "目标岗位级别工资",
  type: "text"
},
{
  field: "targetAllowance",
  title: "目标岗位津贴",
  type: "text"
},
{
  field: "targetAchievementBonus",
  title: "目标岗位绩效奖金",
  type: "text"
},
{
  field: "targetFullattendReward",
  title: "目标全勤奖",
  type: "text"
},
{
  field: "targetOtherReward",
  title: "目标其他",
  type: "text"
},
{
  field: "status",
  title: "0 待提交 1 审批中  2 审批通过 9 已放弃",
  type: "text"
},
{
  field: "insertDate",
  title: "新增时间",
  type: "time"
},
{
  field: "insertTime",
  title: "新增日期",
  type: "date"
},
{
  field: "insertUser",
  title: "新增操作员",
  type: "text"
},
{
  field: "conrrectionDate",
  title: "转正日期",
  type: "date"
},
]

export const rule = {
  id: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  employeeNo: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  turnoverType: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  turnoverCause: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],}
  